﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <%@include file="common/head.jsp" %>
</head>

<body>
<div id="wrapper">

    <%@include file="common/sidebar.jsp" %>

    <div id="page-wrapper">
        <div id="page-inner">
            <div class="row">
                <div class="col-md-12">
                    <h1 class="page-header">
                        新增商家
                        <small>add business.</small>
                    </h1>
                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            新增商家表单
                        </div>
                        <div class="panel-body">
                            <form id="addBusinessForm">
                                <div class="row">
                                    <div class="col-lg-6">
                                        <div class="form-group hide">
                                            <label>ID</label>
                                            <input class="form-control" name="bnId">
                                        </div>
                                        <div class="form-group">
                                            <label>认证人</label>
                                            <input class="form-control bnAuthorName">
                                        </div>
                                        <div class="form-group hide">
                                            <label>认证人Id</label>
                                            <input class="form-control bnAuthorId" name="bnAuthorId">
                                        </div>
                                        <div class="form-group">
                                            <label>商家名称</label>
                                            <input class="form-control bnName" name="bnName" >
                                        </div>
                                        <div class="form-group">
                                            <label>联系电话</label>
                                            <input class="form-control" name="bnPhone">
                                        </div>
                                        <div class="form-group">
                                            <label>认证状态</label>
                                            <label class="radio-inline">
                                                <input type="radio" name="bnAuthorState" class="bnAuthorState" value="0"> 审核通过
                                            </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="bnAuthorState" class="bnAuthorState" value="1"> 审核中
                                            </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="bnAuthorState" class="bnAuthorState" value="2" checked=""> 未审核
                                            </label>
                                        </div>
                                        <div class="form-group">
                                            <label>商家地址</label>
                                            <input class="form-control" name="bnAddress">
                                        </div>
                                        <div class="form-group">
                                            <label>法人代表</label>
                                            <input class="form-control" name="bnLegalPerson">
                                        </div>
                                        <div class="form-group">
                                            <label>注册资本</label>
                                            <input class="form-control" name="bnRegCapital">
                                        </div>
                                        <div class="form-group">
                                            <label>注册时间</label>
                                            <input class="form-control">
                                        </div>
                                        <div class="form-group">
                                            <label>注册地址</label>
                                            <input class="form-control"name="bnRegAddress">
                                        </div>
                                        <div class="form-group">
                                            <label>营业期限</label>
                                            <input class="form-control" name="bnTerm">
                                        </div>
                                        <div class="form-group">
                                            <label>统一代码号</label>
                                            <input class="form-control" name="bnCode">
                                        </div>
                                        <div class="form-group">
                                            <label>经营类型</label>
                                            <input class="form-control" name="bnType">
                                        </div>
                                        <div class="form-group">
                                            <label>经营范围</label>
                                            <textarea class="form-control" name="bnRange" rows="6"></textarea>
                                        </div>
                                        <div class="form-group">
                                            <label>实际经营范围</label>
                                            <textarea class="form-control" name="bnActualRange" rows="6"></textarea>
                                        </div>

                                    </div>
                                    <div class="col-lg-6">

                                        <div class="form-group">
                                            <label>主图</label>
                                            <input type="file" class="bnMainPictureFile">
                                            <input type="hidden" name="bnMainPicture" class="bnMainPicture">
                                            <img class="img-rounded img-responsive bnMainPictureImg" alt="未上传" style="max-height: 300px;">
                                        </div>
                                        <div class="form-group">
                                            <label>展示图</label>
                                            <input type="file" class="bnExhibitionPictureFile">
                                            <input type="hidden" name="bnExhibitionPicture" class="bnExhibitionPicture">
                                            <img class="img-rounded img-responsive bnExhibitionPictureImg" alt="未上传" style="max-height: 300px">
                                        </div>
                                        <div class="form-group">
                                            <label>营业执照</label>
                                            <input type="file" class="bnLicenseFile">
                                            <input type="hidden" name="bnLicense" class="bnLicense">
                                            <img class="img-rounded img-responsive bnLicenseImg" alt="未上传" style="max-height: 300px">
                                        </div>

                                    </div>
                                    <!-- /.col-lg-6 (nested) -->
                                </div>
                                <!-- /.row (nested) -->

                                <button type="button" class="btn btn-primary" id="addBusinessBtn">新 增</button>
                            </form>
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
        </div>

        <%@include file="common/footer.jsp" %>

    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->
</div>
<!-- /. WRAPPER  -->

<!-- JS Scripts-->
<%@include file="common/scripts.jsp" %>

</body>

</html>